//
//  Operation.h
//  NSClassFormStringDemo
//
//  Created by mobao on 16/3/30.
//  Copyright © 2016年 mobao. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Operation : NSObject

@property (nonatomic)float number1;
@property (nonatomic)float number2;

//
-(Operation*)initWithNumber1:(float)number1 Number2:(float)number2;

//运算方法，在子类中重写。用于给子类实现自己的方法。
-(float)operate;

@end
